package com.gitee.magic.framework.base.result;

import com.gitee.magic.framework.base.constant.Message;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author start
 */
public class ResultResponse<T> extends BaseResponse {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public ResultResponse() {
	}
	
	public ResultResponse(Message msg, String logno,String name) {
		super(msg, logno,name);
	}

	@Schema(description = "响应数据,状态码为200时返回")
	private T result;
	
	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}

}
